- NAME
-
- gcloud sql instances - provide commands for managing Cloud SQL instances
- SYNOPSIS
-
-
gcloud sql instancesCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Provide commands for managing Cloud SQL instances including creating, configuring, restarting, and deleting instances.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDclone- Clones a Cloud SQL instance.
create- Creates a new Cloud SQL instance.
delete- Deletes a Cloud SQL instance.
describe- Displays configuration and metadata about a Cloud SQL instance.
export-
(DEPRECATED)Exports data from a Cloud SQL instance. failover- Causes a high-availability Cloud SQL instance to failover.
import-
(DEPRECATED)Imports data into a Cloud SQL instance from Google Cloud Storage. list- Lists Cloud SQL instances in a given project.
patch- Updates the settings of a Cloud SQL instance.
promote-replica- Promotes Cloud SQL read replica to a stand-alone instance.
reset-ssl-config- Deletes all client certificates and generates a new server certificate.
restart- Restarts a Cloud SQL instance.
restore-backup- Restores a backup of a Cloud SQL instance.
- NOTES
-
These variants are also available:
gcloud alpha sql instancesgcloud beta sql instances
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]